import sys
print(sys.argv)
print(sys.argv[1:])
print("___________________")
import time
st = time.time()
print(st)
time.sleep(1)
print("duration:{}",format(time.time()-st))
print("___________________")
from datetime import datetime
now = datetime.now()
print("now",now)
print(now.year,now.month,now.day,now.hour,now.minute,now.second)

print("_______________")
str_time = datetime.strftime(now,"%Y-%m-%d %H:%M:%S")
print(str_time,type(str_time))

tar_time = datetime.strptime("2024-09-05 12:38:23","%Y-%m-%d %H:%M:%S")
print(tar_time,type(tar_time))


